============================= test session starts ==============================
platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0 -- /home/runner/work/pygments-pytest/pygments-pytest/.tox/push/bin/python
cachedir: .pytest_cache
rootdir: /tmp/pytest-of-runner/pytest-0/test_fail_with_class1
collecting ... collected 1 item

f.py::TestThing::test_fail FAILED                                        [100%]

=================================== FAILURES ===================================
_____________________________ TestThing.test_fail ______________________________

self = <f.TestThing object at 0x7f5dc0afcf50>

>   def test_fail(self): assert False
                         ^^^^^^^^^^^^
E   assert False

f.py:2: AssertionError
=========================== short test summary info ============================
FAILED f.py::TestThing::test_fail - assert False
============================== 1 failed in 0.00s ===============================